<?php echo $this->render('index/header.phtml') ?>

<!-- content -->
<div id="content-container" class="clearfix">
	<div id="main_content">
		<div id="breadcrumbs">
			<ul>
			    <li><a href="<?php echo DOMAIN; ?>">Trang chủ</a></li>
			    <li class="no_background"><a href=""><?php echo $this->post['name'];?></a></li>
			</ul>
		</div>

	<?php if($this->idpost==2): ?>
		<!-- quy trinh -->
		<div class="clear"></div>
			<ul id="process_links">
				<li>
					<address><a href="/tool/so-tien-vay-toi-da">Số tiền vay tối đa </a></address>
					<em></em>
				</li>
				<li><b></b><address><a href="/tool/bang-tinh-dong-tien"> Bảng tính dòng tiền</a></address>
					<em></em>
				</li>

				<li class="selected"><b></b><address><a href="/page/kiem-tra-cic-2.html">Kiểm tra CIC</a></address>
					<em></em>
				</li>

				<li><b></b><address><a href="/tool/tim-ngan-hang">Tìm ngân hàng</a></address>
					<em></em>
				</li>
				<li><b></b><address><a href="/page/lap-ho-so-vay-von-3.html">Lập hồ sơ vay vốn</a></address>
					<em></em>
				</li>
			</ul>
		<div class="clear"></div>
		<!-- end quy trinh -->
	<?php elseif($this->idpost==3): ?>
		<!-- quy trinh -->
		<div class="clear"></div>
			<ul id="process_links">
				<li>
					<address><a href="/tool/so-tien-vay-toi-da">Số tiền vay tối đa </a></address>
					<em></em>
				</li>
				<li><b></b><address><a href="/tool/bang-tinh-dong-tien"> Bảng tính dòng tiền</a></address>
					<em></em>
				</li>

				<li><b></b><address><a href="/page/kiem-tra-cic-2.html">Kiểm tra CIC</a></address>
					<em></em>
				</li>

				<li><b></b><address><a href="/tool/tim-ngan-hang">Tìm ngân hàng</a></address>
					<em></em>
				</li>
				<li class="selected"><b></b><address><a href="/page/lap-ho-so-vay-von-3.html">Lập hồ sơ vay vốn</a></address>
					<em></em>
				</li>
			</ul>
		<div class="clear"></div>
		<!-- end quy trinh -->
	<?php endif;?>

	
		<?php if($this->post):?>

			<h1 class="LearnHeader bigfont"><?php echo $this->post['name'];?></h1>
			<!-- noi dung -->
			<div id="containt_client">

				<br />
				
				<div class="clear"></div>
				<p>
					<?php echo str_replace('\\','',$this->post['content']); ?>
				</p>

				<script type="text/javascript">
					function invisible_box(i){
				    	if($(".containt_client_"+i).css('display') == 'none'){ 	
				    	   $(".containt_client_"+i).slideToggle();			    	
						    $(".gtab_"+i).attr("style", "background: url('/images/home/m_blue_m.png') center right no-repeat;" );
						} else { 				
						   $(".containt_client_"+i).slideToggle();		
						   $(".gtab_"+i).attr("style", "background: url('/images/home/m_blue_c.png') center right no-repeat;" );						  
						}
				    	
					}
				</script>
			</div>

		<?php endif; ?>
		<!-- end noi dung-->
		<div class="clear"></div>	
	<!-- tin lien quan -->
	
	<?php if($this->releasePost):?>
	<div class="similar clearfix">
    <h2 class="title">Tin liên quan</h2>
	    <div class="item-list">    
	      	<ul>
	      	<?php 
		    foreach ($this->releasePost as $release_post) :          
		    ?>          
	      		<li>  
	 				<a href="/page/<?php echo $release_post['title_alias'];?>-<?php echo $release_post['id'];?>.html" title="<?php echo $release_post['name'];?>">
	 				 <?php echo $release_post['name'];?>
	 				</a>
	 			</li>
	        <?php endforeach; ?>
	      	</ul>
	    </div>   
    </div>
    <?php endif; ?>
	<!-- end tin lien quan -->
	</div><!-- main_content -->

	<!-- right bar -->
	<?php echo $this->render('index/home-right.phtml') ?>
	<!-- end right bar -->
</div><!-- content-container -->
<!-- end content -->

<?php echo $this->render('index/footer.phtml') ?>